previous FAQback to FAQ listnext FAQ

Geometry

Q:

What is the maximum number of regions allowed in FLUKA?

A:

The maximum number of regions is 1000, but can be increased to 20000 by means of option GLOBAL (WHAT(1)). Using the LATTICE option in the geometry, however, it is possible to define regions as copies obtained by geometric transformations (rotations and translations). The number of such copies is unlimited, within the available computer memory.

Q:

Is there a maximum of the number of characters in each line of a geometry input?

A:

Yes, in a geometry input each line must not exceed a certain number of characters, as shown below. Any further characters are skipped when FLUKA reads the input.
Old, number-based input:
Body reading:
       	"normal" format            : 70 characters (2X,A3,I5,6D10.3)
       	"extended precision" format: 76 characters (2X,A3,I5,3D22.15)
Region reading:
       	"normal" format            : 73 characters ( 2X, A3, I5, 9(A2,I5) )
       	"extended reg. num." format: 73 characters ( 2X, A3, I5, 7(A2,I7) )
New, name based input: max 132 characters

Q:

Is there a function in FLUKA that returns for a certain point in space (x,y,z) the region number to which the point belongs as well as the lattice number, if it is a lattice replica?

A:

In principle one can call the following subroutine:
    CALL GEOREG ( X, Y, Z, NREG, IDISC )
where X, Y, Z are the coordinates of the point where you want to know the region (returned in NREG) and the lattice (returned in MLATTC in common LTCLCM). IDISC is a flag which, if different from zero, signals you are already out or going out of the geometry.

However, the situation is slightly more complex:



Last updated: 26th of April, 2016